<?php


///**
// * 消息路由
// */
//Route::group(['namespace'=>'Message','prefix' => 'message'],function() {
//    Route::get('count', 'IndexController@getCount','message.count');
//    Route::get('list', 'IndexController@getMessage','message.list');
//    Route::get('detail', 'IndexController@getMessageDetail','message.detail');
//});


/**
 * 消息路由
 * 制作者：九哥
 */
Route::group(['prefix' => 'msg','namespace'=>'Msg'],function() {
    //主页数量提示
    Route::post('index', 'TalkController@getIndex');
    //消息窗口新增
    Route::post('add', 'TalkController@setAdd');
    //商务消息列表
    Route::post('company', 'TalkController@getCompanys');
    //招聘消息列表
    Route::post('job', 'TalkController@getJobs');
    //系统消息列表
    Route::post('sys', 'TalkController@getSystems');
    Route::post('sys/show', 'TalkController@getSysShow'); //消息详情
    //会话窗口
    Route::post('accept', 'DetailController@getDetails');
    Route::post('send', 'DetailController@setSend');
    //内部消息
    Route::post('group', 'GroupController@getIndex');
    Route::post('group/accept', 'GroupController@getDetails');
    Route::post('group/send', 'GroupController@setSend');
    Route::post('group/staff', 'GroupController@getStaffsById');
    //准消息
    Route::post('score', 'ScoreController@getIndex');
});

